package net.maku.association.convert;

import net.maku.association.entity.InterestAssociationMemberEntity;
import net.maku.association.vo.InterestAssociationMemberVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 兴趣协会成员
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-04-26
*/
@Mapper
public interface InterestAssociationMemberConvert {
    InterestAssociationMemberConvert INSTANCE = Mappers.getMapper(InterestAssociationMemberConvert.class);

    InterestAssociationMemberEntity convert(InterestAssociationMemberVO vo);

    InterestAssociationMemberVO convert(InterestAssociationMemberEntity entity);

    List<InterestAssociationMemberVO> convertList(List<InterestAssociationMemberEntity> list);

}